//
//  SpaceViewContent.h
//  cutter
//
//  Created by mac on 15/12/21.
//  Copyright © 2015年 e360. All rights reserved.
//
#import "SpaceClassify.h"
#import "UIMenuClass.h"

//
@interface SpaceViewControllerCell : UICollectionViewCell
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UILabel *titieView;
@property (weak, nonatomic) IBOutlet UILabel *priceView;
@property (weak, nonatomic) IBOutlet UIButton *infoView;
@property(nonatomic, strong) NSDictionary *data;
@end


//
@interface SpaceViewController : UIViewController<UIPopoverPresentationControllerDelegate,UITextFieldDelegate>{
    //尺寸
    UIButton *heightEnabledBtn;
    UIButton *widthEnabledBtn;
    UIButton *lengthEnabledBtn;
    UILabel *heightTitleLabel;
    UILabel *heightLabel;
    UILabel *widthTitleLabel;
    UILabel *widthLabel;
    UILabel *lengthTitleLabel;
    UILabel *lengthLabel;
    UISlider *heightSlider;
    UISlider *lengthSlider;
    UISlider *widthSlider;
    SpaceClassifyTips *tips;
    id texts;
}
@property (weak, nonatomic) IBOutlet UIView *nullView;
@property (weak, nonatomic) IBOutlet UIMenuClass *menuView;
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *leftLayout;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topLayout;
@property (weak, nonatomic) IBOutlet SpaceSortPrice *priceView;
@property (weak, nonatomic) IBOutlet UILabel *titieView;
@property (weak, nonatomic) IBOutlet UIButton *collectView;
@property (weak, nonatomic) IBOutlet UIButton *classifyView;
@property (weak, nonatomic) IBOutlet UIButton *screenView;
@property (weak, nonatomic) IBOutlet UIButton *salesView;
@property (weak, nonatomic) IBOutlet UIButton *mixedView;
@property (strong, nonatomic) NSMutableArray *data;
@property (strong, nonatomic) NSMutableDictionary *sizeDic;
@property (strong, nonatomic) NSMutableDictionary *condition;
//
@property (copy, nonatomic) blockEvent onSelected;
@property (assign, nonatomic) NSInteger type;
@property (assign, nonatomic) NSInteger classids;
@end